<%@ include file="/view/template/header.jsp"%>	
	<div id="content">
    	<%@ include file="/view/ehr/ehr_common.jsp"%>
        <div class="right-content">
			<div class="box">
				<s:if test='replyMessage.message!="empty"'>
					<s:property value="replyMessage.message"/>
				</s:if>
				<s:else>
					<s:form action="transfer_to_another_hospital_form">
						<h1><s:text name="label.transferToAnotherHospital.title" /></h1>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherHospital.patient_id"></s:label></span>
							<s:textfield key="transferToAnotherHospital.patientId" value="%{#parameters['patient_id'][0]}" readonly="true" cssErrorClass="error"/>
						</div>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherHospital.transferTime"></s:label></span>
							<s:textfield name="transferToAnotherHospital.transferTime" id="datetimepicker" class="input-text" cssErrorClass="error"></s:textfield>
						</div>
						<br/>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherHospital.from_hospital"></s:label></span>
							<s:textfield key="transferToAnotherHospital.fromHospital" value="CSTH" readonly="true" cssErrorClass="error"/>
						</div>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherHospital.from_ward"></s:label></span>
							<s:textfield key="transferToAnotherHospital.fromWardNo" value="%{#parameters['ward_no'][0]}" readonly="true" cssErrorClass="error"/>
						</div>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherHospital.from_bed"></s:label></span>
							<s:textfield key="transferToAnotherHospital.fromBedNo" value="%{#parameters['bed_no'][0]}" readonly="true" cssErrorClass="error"/>
						</div>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherHospital.to_hospital"></s:label></span>
							<s:textfield key="transferToAnotherHospital.toHospital" cssErrorClass="error"/>
						</div>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherHospital.treatment_suggested"></s:label></span>
							<s:textfield key="transferToAnotherHospital.treatmentSuggested" cssErrorClass="error"/>
						</div>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherHospital.transferring_officer_id"></s:label></span>
							<s:textfield key="transferToAnotherHospital.transferringOfficerId" cssErrorClass="error"/>
						</div>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherHospital.Reason"></s:label></span>
							<s:textfield key="transferToAnotherHospital.reason" cssErrorClass="error"/>
						</div>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherHospital.ambulance_request_id"></s:label></span>
							<s:textfield key="transferToAnotherHospital.ambulanceRequestId" cssErrorClass="error"/>
						</div>
						<div class="con-part">
							<span><s:label key="label.transferToAnotherHospital.Status"></s:label></span>
							<s:textfield key="transferToAnotherHospital.status" cssErrorClass="error"/>
						</div>
						<div class="clear"></div>
						<div class="button_bar2">
							<s:submit key="label.transferToAnotherHospital.submit" cssClass="green" align="center"/>
						</div>
					</s:form>
				</s:else>
			</div>
		</div>
	</div>
	<script type="text/javascript" src="<% out.print(baseURL);%>/view/template/js/jquery-ui-timepicker-addon.js"></script>
	<script>
$(function() {
$("#tabs").tabs();
});
$(function() {
$('#datetimepicker').datetimepicker();
});
</script>
<%@ include file="/view/template/footer.jsp"%>
